package com.hava.contentsale.service;

import com.hava.contentsale.meta.ProductVO;
import com.hava.contentsale.meta.UserVO;

import java.util.List;

/**
 * Created by yanfa on 2016/11/15.
 */
public interface ProductService {

    public List<ProductVO> findAll(UserVO userVO);

    public ProductVO findOne(UserVO userVO,long product_id);

    public ProductVO findOne(long product_id);

    public ProductVO create(ProductVO productVO);

    public void update(ProductVO productVO);

    public void delete(long product_id);
}
